package com.pactera.madp.cp.api.feign;

import com.pactera.madp.common.core.constant.SecurityConstants;
import com.pactera.madp.common.core.constant.ServiceNameConstants;
import com.pactera.madp.common.core.util.R;
import com.pactera.madp.cp.api.dto.clientLossManagement.RemindTaskDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;
import java.util.Map;

/**
 * @author zkd
 * @date 2022/5/13 16:56
 */
@FeignClient(contextId = "remoteRemindTaskRecordsService",value = ServiceNameConstants.CP_SERVICE)
public interface RemoteRemindTaskRecordsService {

    /**
     * 获取已结束的提醒任务记录id列表
     * @return
     */

    @GetMapping("/remindtask/list-finished-ids")
    List<Integer> getRecordFinishedIdList(@RequestHeader(SecurityConstants.FROM) String from);

    /**
     * 批量创建成员未交流提醒定时任务
     * @return
     */
    @PostMapping("/remindtask/batch-create-task")
    R batchCreateTask(@RequestHeader(SecurityConstants.FROM) String from);

}
